]> dgit.raspbian.org Git - gnome-shell.git/commit
magnifier: Use a ClutterContent to render mouse sprite
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 29 Jan 2019 13:46:33 +0000 (11:46 -0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 29 Jan 2019 18:31:57 +0000 (16:31 -0200)
commita7bb8ee6398b9b55a80e7fa541f4950603149178
treece9e95f562100f2f306a5b4b702921520b60a9a1
parent8f732e4f452a3a8df6b590a5577e2896d4e2e6cf
magnifier: Use a ClutterContent to render mouse sprite

The Magnifier class uses a small subtree of actors to track the
current cursor's position and sprite. Specifically, it uses the
deprecated ClutterTexture to paint the cursor sprites.

Add a new, very simple ClutterContent implementation to track the
cursor sprite, and replace the ClutterTexture by a ClutterActor.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/371
js/ui/magnifier.js
src/shell-util.c
src/shell-util.h